home *** CD-ROM | disk | FTP | other *** search
/ Guide To Cracking 2002 / Guide_to_Cracking_2002.iso / Tutorials / Nag and Time Trial / nag / remove.txt < prev    next >
Encoding:
Text File  |  1997-08-24  |  8.0 KB  |  213 lines

  1.    8/24/97           
  2.  
  3.                  How to USE nag screens?
  4.                  =======================
  5.  
  6.                     Introduction
  7.                     ------------
  8.  
  9. What I`m about to teach in this tutorial, is simply how to USE nag screens,
  10. yeah yeah, it sounds redicules, and, I`m not sure that i`m not inventing
  11. the Wheel here, but, I've never seen any tutorial about this issue...
  12.  
  13. I`ll assume you have the knowledge in:
  14.  
  15. 1.SoftIce (Winice will be more percisive...).
  16. 2.cracking (ie, about 2-3 months of cracking..).
  17. 3.Nag Screens (How to kill'em - but, that's of course not what will be discussed
  18.   here).
  19.  
  20. Tools you`ll need for this tutorial:
  21. 1.SoftIce 3.00/01.
  22. 2.Hex Work Shop (ANY VERSION) / or any other good Hex Editor.
  23.  
  24. Programs that will be discussed in here:
  25.  
  26. 1.DeskWipe v1.2                 : URL - Http://Home.sol.no/Frankm
  27. 2.Idyle Phone Book Pro 97 V2.21 : URL - Http://www.idyle.com/
  28.  
  29.  
  30.                  Some words for start
  31.                 ----------------------
  32. What we're going to be doing here, is to use the nag screens in order to
  33. get to the registration routines, in programs that newbies usually find
  34. hard to handle - The programs that have NO visible registration info...
  35. Which means, programs without register boxes... etc..
  36.  
  37. Our basic method here, will be to set a break point on a messagebox , or
  38. some other forms of nag screens that will be discussed here later,
  39. then , after breaking in the nag screen routine, look back in the code,
  40. and see what condition brought us to the nag screen, then, break point in that
  41. condition (ie, je,jz,jnz etc....), and disable it... ;-)
  42. Sounds like we`re just about to start our cracking here...... :)
  43.  
  44.  
  45. The first program I'd like to discuss is one of the simplest...
  46.  
  47.                 DeskWipe 1.2 Cracking (Using nag screen).
  48.               --=========================================--
  49. OK, we're all set with SoftIce running?
  50. great, lets start the program to see the actual protection scheme...
  51.  
  52. After launching DeskWipe 1.2 , quickly pops a nag screen, errrgh! sux!
  53. Lets Exit the program , and set a bp on messageboxa, then, run it again...
  54. oh, no ;`[ , we're lost, messageboxa wasn`t such a lucky guess,
  55. Hmm..... Now, we can use our knowledge in nag screen (which is not too hard
  56. to achieve btw...;)), while we're in the nag screen, press CTRL+D, And,
  57. type hwnd deskwipe...
  58. U`ll see only one button , BMSG on it, (For me , it gave 0688...).
  59. Now, press CTRL+D, and follow my instructions FULLY! (I'd really wish to
  60. talk to you guys about these stuff, but, thats not for this tutorial,
  61. and, it won`t serve my targets...).
  62.  
  63. 1.After pressing CTRL+D , you`ll pop again in SICE, press F12 9 times.
  64. 2.press F10 several times, until you get to this instruction:
  65.   .
  66.   .
  67.   .
  68.   MOV EAX,[EBP-04]
  69.   MOV EAX,[EAX+00000128]
  70.   TEST EAX,EAX
  71.   JZ  420940 / This one, u`ll have to NOP in order to pass the nag screen,
  72.              / because, this is the condition, if the Button was pressed
  73.                or wasn`t... (That was just a side comment).
  74.   .
  75.   .
  76.   .
  77.   NOP the JZ...
  78. 3.now, we can Continue pressing F12 7 more times...
  79.   until we're popped in this instruction:
  80.   .
  81.   .
  82.   .
  83.   CALL 00425728
  84.   POP  ECX
  85.   POP  ECX
  86.   .
  87.   .
  88.   .
  89.   Let's now press CTRL+UP several times, (to see the above code, that brought
  90.   us to this nag screen)
  91.   Until you get to this:
  92.   MOV EAX,[429664]  / The initial value for the registration routine
  93.   CALL 425FFC       / The registration routine itself!!! ;)
  94.   INC EAX           / The Boolean identifier, that's used to determine if
  95.   JZ  426EA6        / The registration was successful...
  96.   .
  97.   .
  98.   .
  99.   I`ll leave you guys the job to Register this program (NOTE that in order
  100.   to crack this one with Patching, you`ll HAVE to change EAX's value INSIDE
  101.   the registration routine, But, it won`t be the BEST crack, for making the
  102.   BEST crack, you`ll have to make a license file... - I`ll leave this job to
  103.   you, I`m not trying here to teach how to do key files, I already assume
  104.   that you can handle the registration routine by yourself... ;))
  105.  
  106.  
  107.   Well , that's it for this program , Now , Let's move to some harder
  108.   Job... ;)
  109.               
  110.   Lets Crack Idyle Phone Book Pro 97 Now!!
  111.  
  112.                    Phone Book Pro 97 V2.21 Cracking!!!
  113.                  --===================================--
  114.  
  115. I'd like to take these lines to GREET the author Damien Rame for a GREAT
  116. interface, I've never seen a better phone book!!! If you use this program,
  117. please send him money! he deserves that! 
  118. This one, is about to be harder to do than the other one we've seen.
  119. I`m about to do patching here , just to give you an example of a CRC checking
  120. that's kicking ya from the program if it detects patching (this one, is usually
  121. done by doing CheckSum to the EXE, and , comparing it with a Value that's
  122. kept somewhere.......).
  123. We're all set with our little SoftIce? :)
  124. great!
  125. Lets launch the program...
  126. press the About/Register button...
  127. Hmm, interesting... the author seems to be pretty smart, look what he did,
  128. he DIDN`T give ya ANY buttom to press in order to tell the program to check
  129. the registration info that was entered!!!
  130. How do we solve this problem?
  131. Well, it's obvious that the program checks the registration info in REAL TIME
  132. (ie, when you enter it in the dialog box).
  133.  
  134. OK, Let's try something here:
  135. I entered Name    :^pain^ '97
  136.           Reg Code: 9999999
  137. Wait, Let's Press CTRL+D, and, set a bp in HMEMCPY,then , press CTRL+D again,
  138. and, add another char to the reg code...
  139. YES! we popped right next to the registration routine...
  140. Let's press F12 now until we get to the program code, and, trace the code
  141. until we get to this instruction (The registration routine):
  142.  
  143. .
  144. .
  145. .
  146. MOV EDX,EBX
  147. MOV EAX,EBX
  148. CALL 49616C
  149. TEST AL,AL
  150. JZ  004968B4
  151. .
  152. .
  153. .
  154. Now, it's obvious what u should do, trace in the registration routine,
  155. Set a bp on some code in the registration routine, and, restart the program.
  156. (Don`t worry, I know what I`m doing...)
  157. After we pop back in Sice...
  158. Exit the routine, and ,do the patch OUTSIDE the routine!!! (VERY IMPORTANT!)
  159. (ie, TEST AL,AL ===> OR AL,01)
  160.  
  161. Now, we're all set for the point I want to discuss... :)
  162. Launch the program! 
  163. Oh shit,Now Look what happens!!! This program does CRC checking!!! (Did I ever
  164. say the author is smart??? ;-)) Although, he did a stupid thing...
  165. Left us a MSG TYPE ERROR BOX!!! (That says there was a CRC error, and that the program
  166. will now be terminated!!!) Let's use this shit! :))
  167.  
  168. Launch the program AGAIN!
  169. when you get to the Error Button.
  170. 1.Type in Sice HWND.
  171. 2.BMSG on the ONLY button that PHONEBOOK uses.
  172. 3.Press CTRL+D
  173. 4.Press F12 5 times.
  174. 5.Press F10 until you get to this instruction:
  175.   .
  176.   .
  177.   .
  178.   Mov EAX,[EAX+00000150]
  179.   TEST EAX,EAX
  180.   JZ 00430CE2    /  Nop the JZ...
  181.                    (Only a temporary change for passing the msg box).
  182.   .
  183.   .
  184.   .
  185. 6.Press F12 8 more times.
  186. 7.Press CTRL+UP some times, until you see this:
  187.   CALL 445570  / CRC Checking routine... :)
  188.   CMP  EBX,-2  / Boolean Identifier.
  189.   JNZ  459409
  190.  
  191.   Now, All you have to do, is to change the CMP EBX,-2 ==> MOV EBX,01
  192.                                             JNZ 459409 ==> JMP 459409
  193.   And , we're all set! ;))
  194.   simple eh? :)
  195.   After nopping it, patch the EXE, and, you have a FULL crack! :)
  196.  
  197.   NOTE that that's not how I did the crack, I did a better patch, but, I really
  198.   don`t remember now wtf did I patch, and, it's not really important for our
  199.   discussion ;) So, you`ll have to forgive me... 
  200.  
  201.  
  202. Well, I think that's it, I've cleared my point, and , I think it's time to 
  203. Sign off... 
  204. Hope you found this info interesting.....(I wouldn`t like to spend my time for
  205. nothing... ;-)).
  206.  
  207. Ohhh...... almost forgotten, I'd like to greet the following dudes:
  208. Acp,Niabi,JosephCo,_rANDOM,|KAIRN|,Razzi,Yoshi,GrimL0ck,kOUGER,Odin,
  209. [J0B],Qapla,Leddy,TeRaPhY!,All the great guys in 
  210. #cracking & #Cracking4newbies And all the rest of you M$ fighters I've forgotten!
  211.  
  212. Signing off - ^pain^ [mEXELiTE] in the year of 1997 - 
  213.